home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / AZTECW.DIR / 01707_Script_Measuring Time < prev    next >
Text File  |  1995-09-12  |  3KB  |  128 lines

  1. global gQuest, gBeenClicked
  2.  
  3. on AMeasureRollovers1
  4.   set gBeenClicked = 0
  5.   if (not(CheckClickedStatus(gQuest))) then
  6.     if rollover(7) then
  7.       repeat while rollover(7)
  8.         AztecCursor
  9.         puppetsprite 8, true
  10.         set the locH of sprite 8 to 328
  11.         set the locV of sprite 8 to 241
  12.         updatestage
  13.         if the mousedown then
  14.           set GBeenClicked = 1
  15.         else
  16.           if gBeenClicked = 1 then
  17.             repeat while gBeenClicked = 1
  18.               AnimateLoopFast 6, 769, 9, "SA380500.AIF (GEAR WIND)", 2
  19.             end repeat
  20.           end if
  21.         end if
  22.       end repeat
  23.       set the locH of sprite 8 to 928
  24.       puppetsprite 8, false
  25.       updatestage
  26.     else
  27.       if rollover(9) then
  28.         repeat while rollover(9)
  29.           AztecCursor
  30.           puppetsprite 10, true
  31.           set the locH of sprite 10 to 329
  32.           set the locV of sprite 10 to 213
  33.           updatestage
  34.           if the mousedown then
  35.             set GBeenClicked = 1
  36.           else
  37.             if gBeenClicked = 1 then
  38.               repeat while gBeenClicked = 1
  39.                 AnimateLoopFast 6, 769, 9, "SA380500.AIF (GEAR WIND)", 2
  40.               end repeat
  41.             end if
  42.           end if
  43.         end repeat
  44.         set the locH of sprite 10 to 929
  45.         puppetsprite 10, false
  46.         updatestage
  47.       else
  48.         if rollover(11) then
  49.           ArrowCursor
  50.           repeat while rollover(11)
  51.             set the locH of sprite 12 to 277
  52.             set the locV of sprite 12 to 249
  53.             updatestage
  54.           end repeat
  55.           set the locH of sprite 12 to 977
  56.           updatestage
  57.         else
  58.           if rollover(40) then
  59.             HandCursor
  60.           else
  61.             if rollover(41) then
  62.               HandCursor
  63.             else
  64.               if rollover(42) then
  65.                 HandCursor
  66.               else
  67.                 ArrowCursor
  68.               end if
  69.             end if
  70.           end if
  71.         end if
  72.       end if
  73.     end if
  74.   end if
  75.   RandomQuestion(gQuest)
  76. end
  77.  
  78.  
  79. on AMeasureRollovers2
  80.   set gBeenClicked = 0
  81.   if (not(CheckClickedStatus(gQuest))) then
  82.     if rollover(9) then
  83.       repeat while rollover(9)
  84.         AztecCursor
  85.         puppetsprite 10, true
  86.         set the locH of sprite 10 to 165
  87.         set the locV of sprite 10 to 355
  88.         updatestage
  89.         if the mousedown then
  90.           set GBeenClicked = 1
  91.         else
  92.           if gBeenClicked = 1 then
  93.             repeat while gBeenClicked = 1
  94.               AnimateLoopfast 9, 790, 2, "SA380801.AIF (WRITING) copy", 4
  95.             end repeat
  96.           end if
  97.         end if
  98.       end repeat
  99.       puppetsprite 10, false
  100.     else
  101.       if rollover(2) then
  102.         ArrowCursor
  103.         repeat while rollover(2)
  104.           set the locH of sprite 11 to 557
  105.           set the locV of sprite 11 to 327
  106.           updatestage
  107.         end repeat
  108.       else
  109.         if rollover(39) then
  110.           HandCursor
  111.         else
  112.           if rollover(41) then
  113.             HandCursor
  114.           else
  115.             if rollover(42) then
  116.               HandCursor
  117.             else
  118.               ArrowCursor
  119.             end if
  120.           end if
  121.         end if
  122.       end if
  123.     end if
  124.   end if
  125.   RandomQuestion(gQuest)
  126. end
  127.  
  128.